.tow { position: relative; display: flex;  align-items: flex-start; align-self: center; margin:10px auto 30px; width: 1280px; left: 0;right: 0;}
.image-gallery {
display: flex;
flex-wrap: wrap;
gap: 0.78125vw;
width: 100%;
padding: 0.52083vw;
box-sizing: border-box;
border-top:1px solid #d74339 ;
background-color: #f5f5f7;
}

.image-item {
position: relative;
flex: 1 1 calc(18% - 0.78125vw);
min-width: calc(18% - 0.78125vw);
overflow: hidden;

}

.image-item img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.3s ease;
}

/* 图片遮罩层和文字 */
.image-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.5);
display: flex;
align-items: center;
justify-content: center;
opacity: 0;
transition: opacity 0.3s ease;
}

.image-text {
color: white;
font-size: 1.2rem;
text-align: center;
padding: 0.78125vw;
}

/* 悬停效果 */
.image-item:hover img {
transform: scale(1.1);
}

.image-item:hover .image-overlay {
opacity: 1;
}
/* 添加阴影和更流畅的动画 */
.image-item {
transition: all 0.3s ease;
box-shadow: 0 0.15625vw 0.52083vw rgba(0, 0, 0, 0.1);
}

.image-item:hover {
box-shadow: 0 0.41667vw 1.04167vw rgba(0, 0, 0, 0.2);
z-index: 1;
}

/* 文字动画效果 */
.image-text {
transform: translateY(1.04167vw);
transition: transform 0.3s ease;
}

.image-item:hover .image-text {
transform: translateY(0);
}

.tot{ width: 1280px; margin: 20px auto 0; color: #d74339; font-size: 16px; font-weight: bold;}